﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Maltose.Web
{
    /// <summary>
    /// http输出结果 错误状态码
    /// </summary>
    public enum HttpResultErrorCode
    {
        /// <summary>
        /// 成功
        /// </summary>
        Ok = 0,
        /// <summary>
        /// 服务器内部错误
        /// </summary>
        ServeError = -1,

        /// <summary>
        /// token过期
        /// </summary>
        TokenExpire = 40001,

        /// <summary>
        /// token无效
        /// </summary>
        TokenInvalid = 40002,

        /// <summary>
        /// 自定义错误
        /// </summary>
        Custom = 44000
    }
}
